n=eval(input('请输入:'))
for i in range(1,n+1):
    s='*'*i
    print(s.rjust(n,' '))
for j in  range(n,0,-1):

    print(('*'*j).rjust(n))